#ifndef __LINE2D_H__
#define __LINE2D_H__
/////////////////
//include
/////////////////
#include"Vector2D.h"
/////////////////
//const
/////////////////

/////////////////
//class
/////////////////
class Line2D
{
public:
	Line2D(Vector2D start = Vector2D(),	Vector2D end = Vector2D());
	~Line2D();
	Vector2D CollisionPoint(const Line2D&  line);
	Vector2D GetDirection() const {return end - start;}
	Vector2D GetDirectionNormalize() const {return GetDirection().Normalize();}

	Vector2D start;
	Vector2D end;
};
#endif __LINE2D_H__
